<!-- inc:header -->
<script type="text/javascript">
var input_id = "#{:$input_id}";
var tmp_show = input_id+"_tmp_show";
function to_link(id)
{
	var subject = $("#subject_"+id).html();
	parent.$(input_id).attr("value",id);
	parent.$(tmp_show).attr("value",subject);
	parent.Layer.over();
}
</script>

<div class="main">
<table width="100%" style="layout:fixed;" cellpadding="0" cellspacing="0">
<tr>
	<td class="t_sub" width="50px">ID</td>
	<td class="t_sub" width="35px">状态</td>
	<td class="t_sub">名称</td>
	<td class="t_sub" width="110px">发布时间</td>
	<td class="t_sub" width="60px">操作</td>
</tr>
<!-- $rslist AS $key=>$value -->
<tr class="tr_out" onMouseOver="over_tr(this)" onMouseOut="out_tr(this)">
	<td align='center' class="tc_left">{:$value[id]}</td>
	<td align="center" class="tc_right"><a class="status{:intval($value['status'])}"></a></td>
	<td align='left' class="tc_right" style="padding:2px 0;">&nbsp;<!-- if($value[thumb]) --><span class="darkblue">【图文】</span><!-- end --><span id="subject_{:$value[id]}" style="{:$value[style]}">{:$value[title]}</span><!-- if($value[virtual]) --> <span class="red">虚拟产品</span><!-- end --><!-- if($value[istop]) --> <span class="red">[顶]</span><!-- end --><!-- if($value[isvouch]) --> <span class="darkblue">[荐]</span><!-- end --><!-- if($value[isbest]) --> <span class="darkred">[精]</span><!-- end --></td>
	<td  align='center' class="tc_right">{:date('Y-m-d H:i',$value[post_date])}</td>
	<td align="center" class="tc_right"><input type="button" value="提交" onclick="to_link('{:$value['id']}')" class="btn2" /></td>
</tr>
<!-- end -->
</table>
</div>
<div class="table">{:$pagelist}</div>
<!-- inc:footer_open -->